package com.euond.accv.mdm.api.controller;

import com.euond.accv.mdm.client.dto.MdmGroupDTO;
import com.euond.accv.mdm.domain.MdmGroup;
import com.euond.accv.mdm.service.MdmGroupService;
import com.euond.common.api.controller.BaseReadApiController;
import com.euond.common.web.controller.annotation.FeignRestController;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignRestController
@RequestMapping("/feign_api/mdm_group")
@Api(description = "集团信息Api")
public class MdmGroupApiController extends BaseReadApiController<MdmGroup, String>{
	@Autowired
	MdmGroupService service;

	@Override
	protected void init() {
		setBaseService(service);
		setMainVOClazz(MdmGroupDTO.class);
	}

}
